package edu.zac.controller;

import edu.zac.pojo.Emp;
import edu.zac.service.EmpService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

/**
 * @Title
 * @Author Peihan.Zhang
 * @Email zhangpeihan@sjgtw.com
 * @Date 2021/10/19 19:26
 * @Versions 1.0
 */
@Controller()
public class EmpController {
    @Autowired
    private EmpService empService;
    @Autowired
    private  Emp emp;

    public void add(){
        empService.add(emp);
    }

}
